package com.liveinstars.im.api;

import com.liveinstars.api.im.vo.TodoVO;
import com.liveinstars.im.entity.User;

import java.util.List;

public interface IMUserService {

	/**
	 * 获取与我相关联的用户，好友 ，同一个群 ，同一个讨论组
	 *
	 * @param userId
	 * @return
	 */
	List<User> getRelateUser(Long userId);

	TodoVO addTodo(Long fromUserId, Long toUserId, int type, Integer activityId, Long groupId, String reqMsg);

    Boolean containTodo(Long userId, Integer id);

    List<TodoVO> getActivityTodoList(Long userId, Integer type);
}
